package com.ruoyi.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 项目成员/外派人员对象 project_member
 *
 * @author sauger
 * @date 2022-03-15
 */

@Data
public class ProjectMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 项目id */
    private Integer projectId;

    /** 账号id */
    @Excel(name = "账号id")
    private Integer userId;

    /** 岗位id */

    private Integer postId;

    @Excel(name = "岗位")
    private String postName;

    /** 进场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onboardTime;

    /** 离场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departTime;

    /** 进场场状态 */
    @Excel(name = "进场场状态")
    private String onboardStatus;

    /**
     * 项目信息
     */
    private Project project;

    private StaffProfile profile;

    private StaffingSetting staffingSetting;


    /** 备注 */
    private String description;


}
